package imagingbook.sift.scalespace;


public class DogScaleSpace extends HierarchicalScaleSpace {
	
	public DogScaleSpace(GaussianScaleSpace G) {
		super(G.P, G.Q, G.sigma_s, G.sigma_0, G.botLevel, G.topLevel-1);  //botLevel = -1, topLevel = K+1
		build(G);
	}	
	
	private final void build(GaussianScaleSpace G) {
		//IJ.log("initializing sift scale space 2 ...");
		// build DoG octaves:
		//IJ.log("building DoG stack");
		for (int p = 0; p < P; p++) {
			ScaleOctave Gp = G.getOctave(p);
			octaves[p] = new DogOctave(Gp);
		}
	}

}
